﻿using Demo.WebApi.Models.Orders;
using Demo.WebApi.Models.Pays;
using Demo.WebApi.Models.Products;
using Demo.WebApi.Models.Users;
using Microsoft.EntityFrameworkCore;

namespace Demo.WebApi.Context
{
    public class DemoWenApiContext : DbContext
    {
        public DemoWenApiContext(DbContextOptions<DemoWenApiContext> options) : base(options)
        {

        }

        public DbSet<Product> products { get; set; }
        public DbSet<Order> orders { get; set; }
        public DbSet<Payment> payments { get; set; }
        public DbSet<User> users { get; set; }
    }
}
